package net.csdn.business.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 *  @author: zhangyalei
 *  @Date: 2022/06/14 14:30
 *  @Description: SuperEntity
 */
@Getter
@Setter
public class SuperEntity<T extends Model<?>> extends Model<T> {


    @TableField(fill = FieldFill.INSERT)
    protected String createdBy;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    protected String lastModifiedBy;


    @TableField(fill = FieldFill.INSERT)
    protected Date createdDate;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    protected Date lastModifiedDate;

   /* protected String createdByName;
    protected String lastModifiedByName;*/

    /**
     * 是否删除。0:未删除;1:删除
     */
   /* @TableLogic
    private Integer isDelete;*/

}